/**
 * API 模块统一导出
 */

// 导出 HTTP 实例
export { http, formDataHttp } from './http';
export type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from './http';

// 导出全局类型
export type {
	ResponseType,
	ListResponseType,
	PaginationType,
	BaseListItemType,
	FormInstanceType,
	InputInstanceType,
	TooltipInstanceType,
	CascaderInstanceType,
	CascaderPropsType
} from './global.type';

// 导出错误处理工具
export { ErrorCode, isApiResponseError, getErrorMessage } from './error-handler';

// 导出所有服务
export * from './service/lib';
export * from './service/base';
export * from './service/system';
export * from './service/knowledge';
export * from './service/analysis-task-manage';
export * from './service/lesson-analysis-details';
